package com.third.bank.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.third.bank.Dto.InterestRecordsDto;
import com.third.bank.entity.InterestRecords;
import com.third.bank.mapper.InterestRecordsMapper;
import com.third.bank.service.InterestRecordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 利息记录表serviceimpl
 */
@Service
public class InterestRecordServiceimpl extends ServiceImpl<InterestRecordsMapper, InterestRecords> implements InterestRecordsService {
    @Autowired
    private InterestRecordsMapper interestRecordsMapper;

    @Override
    public List<InterestRecordsDto> getLastInterestSettlementTime() {
        return interestRecordsMapper.getLastInterestSettlementTime();
    }
}
